package mappers;

import model.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    public void insertUser(User user);
    public User getUserById(int id);
    public List<User> getAllUsers();
    public User getUserByLoginAndPassword(@Param("login") String login, @Param("password") String password);
}
